package com.tiger.cloud.model.crm;

import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.tiger.cloud.common.mybatis.TigerBaseEntity;
/**
 * 
 * crm_peers-同行信息
 *
 */
public class Peers extends TigerBaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 所属用户
	 */
    private Long userId;
	/**
	 * 同行ID   手工创建的工行信息，此ID为空
	 */
    private Long peerId;
	/**
	 * 备注  我对同行评价
	 */
    private String memo;
	/**
	 * 来源类型  1:创建、2:同行分享、3:交换、4:安石派用户、5:手机通讯录
	 */
    private Integer resourceType;
	/**
	 * 来源   分享者、交换对象
	 */
    private String resource;
	/**
	 * 星标朋友
	 */
    private Integer isMark;
	/**
	 * 查询条件组合
	 */
    private String ext;
	/**
	 * 是否删除, 0:正常,1:删除
	 */
    private Integer isDelete;
	/**
	 * 最后更新时间
	 */
    private Date lastUpdateTime;
	/**
	 * 创建时间
	 */
    private Date createTime;
    
    public Peers(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Long getPeerId() {
        return this.peerId;
    }
    
    public void setPeerId(Long peerId) {
        this.peerId = peerId;
    }
    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
    public Integer getResourceType() {
        return this.resourceType;
    }
    
    public void setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
    }
    public String getResource() {
        return this.resource;
    }
    
    public void setResource(String resource) {
        this.resource = resource;
    }
    public Integer getIsMark() {
        return this.isMark;
    }
    
    public void setIsMark(Integer isMark) {
        this.isMark = isMark;
    }
    public String getExt() {
        return this.ext;
    }
    
    public void setExt(String ext) {
        this.ext = ext;
    }
    public Integer getIsDelete() {
        return this.isDelete;
    }
    
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
    public Date getLastUpdateTime() {
        return this.lastUpdateTime;
    }
    
    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}